﻿<Window x:Class="FreeGoo.WpfDemo.GameWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:WpfDemo="clr-namespace:FreeGoo.WpfDemo"    
    Title="FreeGoo.WpfDemo" Height="794" Width="1002" Loaded="Window_Loaded" Closing="Window_Closing" >
    
        <Grid Name="MyGrid">
            <Grid.RowDefinitions>
                <RowDefinition Height="36*" />
                <RowDefinition Height="718*" />
            </Grid.RowDefinitions>
        <Canvas Grid.RowSpan="1">
            <Button Name="CreateGrid"  Content="Build Grid"  Width="70" Click="CreateGrid_Click" />
            <Button Name="ClearParticles" Canvas.Left="365" Content="Clear Particles"  Width="70" Click="ClearParticles_Click" Height="19.45" Canvas.Top="0" Background="Bisque" />
            <Button Name="ClearLinks" Canvas.Left="448" Content="Clear Links" Width="70" Click="ClearLinks_Click" Height="19.45" Canvas.Top="0" />
            <Button Canvas.Left="81" Canvas.Top="0" Height="19.45" Name="CreateBallon" Width="80" Click="CreateBallon_Click" Content="Create Balloon"/>
            <Button Canvas.Left="174" Canvas.Top="0" Height="19.45" Name="CreateChain" Width="78" Click="CreateChain_Click" Content="Create Chain"/>
            <Button Canvas.Left="531" Canvas.Top="0" Height="19.45" Name="HideLinks" Click="HideLinks_Click" Width="70" Content="Hide Links"/>
            <Button Canvas.Left="612" Canvas.Top="0" Height="19.45" Name="HideParticles" Width="70" Click="HideParticles_Click" Content="Hide Particles"/>
            <Button Canvas.Left="267" Canvas.Top="0" Height="19.45" Name="CreateHook" Width="80" Click="CreateHook_Click" Content="Create Hook"/>
            <Button Canvas.Left="778" Canvas.Top="0" Height="19.45" Name="ReloadLevelButton" Width="70" Click="ReloadLevelButton_Click" Content="Reload Level"/>
            <CheckBox Canvas.Left="778" Canvas.Top="23" IsChecked="True" Name="TrackLevelCheckBox" Height="13" Width="71.78" Content="Track Level"/>
            <Button Canvas.Left="695" Canvas.Top="0" Height="19.45" Name="FixParticles" Width="70" Click="FixParticles_Click" Content="Fix Particles"/>
            <TextBox Canvas.Left="866" Height="18.45" Canvas.Top="0" Width="54" Name="StiffnessTextBox" Text="100"/>
            <Button Canvas.Left="922" Canvas.Top="0" Height="18.45" Name="SetStiffness" Width="48" Click="SetStiffness_Click" Content="Set Stiff."/>
        </Canvas>
        <WpfDemo:GameControl Grid.RowSpan="2" Grid.Row="2" x:Name="GameControl" Width="794" Height="900" Margin="0,0,0,0"></WpfDemo:GameControl>
    </Grid>    
</Window>
